package com.skylin.mysell.service;

import com.skylin.mysell.entities.ProductCategory;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author quanlinlin on 2018/12/8 16:02.
 * @version 1.0
 */
@Service
public interface ProductCategoryService {

    ProductCategory findOne(Integer categoryId);

    List<ProductCategory> findAll();

    List<ProductCategory> findByCategoryTypeIn(List<Integer> categoryTypeList);

    ProductCategory save(ProductCategory productCategory);

}
